//
//  TopCollectionViewCell.m
//  yilutongxing
//
//  Created by ios-21 on 17/4/17.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import "TopCollectionViewCell.h"

@implementation TopCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)showCollectViewItem:(NSInteger)item{
    switch (item) {
        case 0:
            self.typeImageView.image = [UIImage imageNamed:@"心脏移植"];
            self.typeLable.text = @"心脏移植";
            break;
        case 1:
            self.typeImageView.image = [UIImage imageNamed:@"肝移植"];
            self.typeLable.text = @"肝移植";
            break;
        case 2:
            self.typeImageView.image = [UIImage imageNamed:@"肺移植"];
            self.typeLable.text = @"肺移植";
            break;
        case 3:
            self.typeImageView.image = [UIImage imageNamed:@"肾移植"];
            self.typeLable.text = @"肾移植";
            break;
        case 4:
            self.typeImageView.image = [UIImage imageNamed:@"小肠移植"];
            self.typeLable.text = @"小肠移植";
            break;
        case 5:
            self.typeImageView.image = [UIImage imageNamed:@"胰腺移植"];
            self.typeLable.text = @"胰腺移植";
            break;
        case 6:
            self.typeImageView.image = [UIImage imageNamed:@"other_graft"];
            self.typeLable.text = @"其他移植";
            break;
        default:
            break;
    }
}
@end
